import request from '@/plugins/request';
// 手机卡列表
export function scardList(data) {
    return request({
      url: "/v1/buss/scard/index",
      method: "get",
      params: data,
    });
}
  
//新增、更新手机卡
export function createScard(data) {
    return request({
        url: "/v1/buss/scard/update-scard",
        method: "post",
        data,
    });
}

//删除手机卡
export function deleteScard(data) {
    return request({
        url: "/v1/buss/scard/delete-scard",
        method: "post",
        data,
    });
}
// 充值列表
export function rechargeList(data) {
    return request({
      url: "/v1/buss/scard/recharge-list",
      method: "get",
      params: data,
    });
}

// 新增充值
export function createRecharge(data) {
    return request({
        url: "/v1/buss/scard/create-recharge",
        method: "post",
        data,
    });
}
  
 // 编辑下拉筛选
export function scardCondition(data) {
    return request({
      url: "/v1/buss/scard/edit-condition",
      method: "get",
      params: data,
    });
} 
//充值删除
export function rechargeDel(data) {
    return request({
        url: "/v1/buss/scard/delete-recharge",
        method: "post",
        data,
    });
}
 // 人员下拉列表
 export function getMemberCondition(data) {
    return request({
      url: "/v1/buss/scard/get-member-condition",
      method: "get",
      params: data,
    });
} 